package cn.zwx.member.svc.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author zhangwenxue
 */
@Data
@ApiModel("会员配置信息出参")
public class MemberConfigVO {

    @ApiModelProperty( value = "积分抵扣开关")
    private Boolean pointTradeDeductEnable;

    @ApiModelProperty( value = "积分抵扣，单位：分")
    private Integer pointTradeDeductUnitPrice;

    @ApiModelProperty( value = "积分抵扣最大值")
    private Integer pointTradeDeductMaxPrice;

    @ApiModelProperty( value = "1-元赠送多少分")
    private Integer pointTradeGivePoint;

    @ApiModelProperty("自增主键")
    private Long id;
}
